from DrissionPage import ChromiumPage, ChromiumOptions

page = ChromiumPage()
page.get("https://static.docs-hub.com/ysczdjbyf_1750214922342.html")
"""
<body>
  <div id="one">
    <p class="p_cls" name="row1">第一行</p>
    <p class="p_cls" name="row2">第二行</p>
    <p class="p_cls">第三行</p>
  </div>
  <div id="two">
    第二个div
  </div>
</body>
"""
# css selector
print(page.eles('xpath://*[@id="one"]/p[3]'))
# xpath
